#region License Revision: 0 Last Revised: 6/18/2008 11:00 AM
/******************************************************************************
Copyright (c) Microsoft Corporation.  All rights reserved.


This file is licensed under the Microsoft Public License (Ms-PL). A copy of the Ms-PL should accompany this file. 
If it does not, you can obtain a copy from: 

http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx
******************************************************************************/
#endregion // License
using System;
using System.Windows.Browser;
using System.Diagnostics;
using ScriptInterop;

namespace VIEWS // Virtual Earth Wrapper
{

/// <summary>Contains the location information (address and a latitude/longitude pair) of the VERouteDeprecated.StartLocation Property and VERouteDeprecated.EndLocation Property points of a route.</summary>
public class VERouteLocation : JSObject
{
	/// <summary name="LatLong">Specifies the latitude and longitude (as a VELatLong Class) of the location.</summary>
	public VELatLong LatLong
	{
		get { var so = GetProperty<ScriptObject>("LatLong"); return new VELatLong(so); }
	}
 	/// <summary name="Address">Specifies the street address (as a string) of the location.</summary>		
	public string Address
	{
		get { return GetProperty<string>("Address"); }
	}
} 

}
